<style>
	.mr10{ margin-right:20px; }
	.excel-width{
		width: 175px;
	}
</style>
<div class="" ng-controller="exportLoanExcelCtrl">
	<div class="panel-heading font-bold">导出Excel</div>
	<div class="ibox">
	    <div class="ibox-content">
			<div class="form-horizontal m-t">
				<div class="panel panel-default">
					<!-- <div class="panel-heading">选择需要导出的数据</div> -->
					<div class="panel-heading">
						<input type="checkbox" ng-click="allMenus($event)"> 全选/取消
					</div>
					<div class="panel-body">
						<div class="checkboxBar">
					        <span class="mr10 excel-width" ng-repeat="item in ExcelDatas.result">
					          <input ng-click="checkBtn()" class="checkchilds" data-id="{{item.name}}" data-valueString="{{item.value}}" type="checkbox" data-index="{{$index}}" value="{{item}}"> {{item.value}}
					        </span>

				      	</div>
				      	<div style=" clear: both;"></div>
				      	<!-- <div class="checkboxBar2" style="display: none;">
				      		<span ng-click="" class="mr10" ng-repeat="item in ExcelDatas.result.ID">
				      						          <input type="checkbox" data-index="{{$index}}" value="{{item}}"> {{item}}
				      						        </span>
				      	</div> -->
					</div>
				</div>
				<div class="row">
					<div class="ibox-content" align="center">
						<form id="_ajaxForm" action="" method="post">
							<input type="text" style="display: none;" name="keys" ng-model="keysstring" />
							<input type="text" style="display: none;" name="ids" ng-model="idstring._idstring" />
							<input type="text" style="display: none;" name="columnNames" ng-model="valuestring" />
							<button class="save" type="button" ng-click="exportData()">导出</button>
							<button type="button" class="no-save" ng-click="hideBtn()">取消</button>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	
</div>


